#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct Student  //结构体名
{
    int id;     //学号
    char Name[16];      //姓名
};
typedef struct Student Stu;


int main()
{

    Stu *s=(Stu*)malloc(sizeof(Stu));
    if(s==NULL)
    {
        return -1;
    }
    s->id=10;
    strcpy(s->Name,"zahngsan");
    printf("%d %s\n",s->id,s->Name);
    free(s);
    return 0;
}